package com.aier.classes.entity;

import java.sql.Timestamp;

import com.aier.user.entity.User;



public class RequestParent implements java.io.Serializable{

    /**
     * 家长申请加入班级记录表    
     */
    private static final long serialVersionUID = 1L;

    private Long rpid;            //标识
    private Long parent_uid;    //家长用户id
    private Long baby_uid;        //孩子用户id
    private String relation;    //家长与孩子的关系
    private Long tid;            //审核的教师id
    private Long cid;            //班级id
    private String content;        //内容
    private Short state;        //状态 0:审核中,1:同意,2:拒绝
    private Timestamp ctime;    //邀请时间
    
    //扩展
    private String ctime_str;
    private String state_str;
    private String name_teacher;//审核的教师姓名
    private String name_parent; //家长姓名
    private String name_student;//孩子姓名
    private String name_class;    //班级名称
    private User user_parent;    //家长用户
    
    public RequestParent() {
        super();
    }

    public RequestParent(Long rpid, Long parent_uid, Long baby_uid,
            String relation, Long tid, Long cid, String content, Short state,
            Timestamp ctime,String name_parent) {
        super();
        this.rpid = rpid;
        this.parent_uid = parent_uid;
        this.baby_uid = baby_uid;
        this.relation = relation;
        this.tid = tid;
        this.cid = cid;
        this.content = content;
        this.state = state;
        this.ctime = ctime;
        this.name_parent=name_parent;
    }

    public Long getRpid() {
        return rpid;
    }

    public void setRpid(Long rpid) {
        this.rpid = rpid;
    }

    public Long getParent_uid() {
        return parent_uid;
    }

    public void setParent_uid(Long parent_uid) {
        this.parent_uid = parent_uid;
    }

    public Long getBaby_uid() {
        return baby_uid;
    }

    public void setBaby_uid(Long baby_uid) {
        this.baby_uid = baby_uid;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Timestamp getCtime() {
        return ctime;
    }

    public void setCtime(Timestamp ctime) {
        this.ctime = ctime;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public String getCtime_str() {
        return ctime_str;
    }

    public void setCtime_str(String ctime_str) {
        this.ctime_str = ctime_str;
    }

    public String getName_parent() {
        return name_parent;
    }

    public void setName_parent(String name_parent) {
        this.name_parent = name_parent;
    }

    public String getName_student() {
        return name_student;
    }

    public void setName_student(String name_student) {
        this.name_student = name_student;
    }

    public String getName_class() {
        return name_class;
    }

    public void setName_class(String name_class) {
        this.name_class = name_class;
    }

    public String getName_teacher() {
        return name_teacher;
    }

    public void setName_teacher(String name_teacher) {
        this.name_teacher = name_teacher;
    }

    public String getState_str() {
        return state_str;
    }

    public void setState_str(String state_str) {
        this.state_str = state_str;
    }

    public User getUser_parent() {
        return user_parent;
    }

    public void setUser_parent(User user_parent) {
        this.user_parent = user_parent;
    }



    
    
}
